package com.muyu.danmo.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 书法家级别对象 danmo_information_level
 * 
 * @author yangle
 * @date 2024-11-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class DanmoInformationLevel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 书法家级别唯一id */
    private Long levelId;

    /** 级别名称 */
    @Excel(name = "级别名称")
    private String name;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("levelId", getLevelId())
            .append("name", getName())
            .toString();
    }
}
